<template>
  <div class="shangfeng">
      商品分类
      <el-select v-model="value" placeholder="请选择">
          <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
          </el-option>
      </el-select>
  </div>
</template>


<script>
import { shangfeng } from '@/api/shangfeng.js';
export default {
  data() {
      return {

      }
  },
  mounted() {
      this.getList()
  },
  methods: {
      async getList() {
          shangfeng(this.parmas)
          console.log(this.tableData)
          let { data: res } = await shangfeng(this.parmas)
          this.total = res.totalRow
          console.log(res);
          this.shangfeng = this.options
          this.tableData = res.result
          this.shangfeng = this.tableData
          console.log(this.parmas.isShow)
      },
  },
}
</script>